package com.tzxscu.hosdroolsnew.beans;


import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.util.JSONPObject;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Component
public class PatListInfo {
    private String patient_id;
    private String visit_id;
    private String name;
    private String sex;
    private String charge_type;
    private String insuplc_admdvs;
    private double staydays;
    private ArrayList<Bills> bills;
    private ArrayList<Orders> orders;
    private ArrayList<Diagnosis> diagnosis;

    public String getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(String patient_id) {
        this.patient_id = patient_id;
    }

    public String getVisit_id() {
        return visit_id;
    }

    public void setVisit_id(String visit_id) {
        this.visit_id = visit_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCharge_type() {
        return charge_type;
    }

    public void setCharge_type(String charge_type) {
        this.charge_type = charge_type;
    }

    public String getInsuplc_admdvs() {
        return insuplc_admdvs;
    }

    public void setInsuplc_admdvs(String insuplc_admdvs) {
        this.insuplc_admdvs = insuplc_admdvs;
    }

    public ArrayList<Bills> getBills() {
        return bills;
    }

    public void setBills(ArrayList<Bills> bills) {
        this.bills = bills;
    }

    public ArrayList<Orders> getOrders() {
        return orders;
    }

    public void setOrders(ArrayList<Orders> orders) {
        this.orders = orders;
    }

    public ArrayList<Diagnosis> getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(ArrayList<Diagnosis> diagnosis) {
        this.diagnosis = diagnosis;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    @Override
    public String toString(){
        return "{" +
                "\"ID号\"=\"" + patient_id + '\"' +
                ", \"住院次数\"=\"" + visit_id + '\"' +
                ", \"姓名\"=\"" + name + '\"' +
                ", \"费别\"=\"" + charge_type + '\"' +
                ", \"参保地代码\"=" + insuplc_admdvs +
                ", \"费用明细\"=\"" + bills + '\"' +
                ", \"医嘱明细\"=\"" + orders + '\"' +
                ", \"诊断明细\"=\"" + diagnosis + '\"' +
                '}';
    }


    public double getStaydays() {
        return staydays;
    }

    public void setStaydays(double staydays) {
        this.staydays = staydays;
    }
}
